package com.nf.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestAction {

    @RequestMapping("/kk")
    public String kk(){
        System.out.println("我是kk核心代码");
        int a = 0;
        int b = 0;
        //int c = a/b;
        return "kk";
    }







    @RequestMapping("/kk2")
    public String kk2(){
        System.out.println("我是kk，我运行第2个核心代码");
        return "kk";
    }
}
